﻿using System;
using System.ComponentModel.DataAnnotations;

namespace SWTORLogDb.Entities.SWTOR.CombatLogs
{
    public class CombatLogEntry: EntityBase
    {
        public int CombatLogEntryId { get; set; }

        public int EncounterId { get; set; }

        public DateTime EntryTimestamp { get; set; }

        [StringLength(100)]
        public string Source { get; set; }
        public bool SourceIsPlayer { get; set; }

        [StringLength(100)]
        public string Target { get; set; }
        public bool TargetIsPlayer { get; set; }

        [StringLength(200)]
        public string AbilityName { get; set; }
        public Int64 AbilityId { get; set; }

        [StringLength(200)]
        public string Event { get; set; }
        public Int64 EventId { get; set; }

        [StringLength(200)]
        public string Effect { get; set; }
        public Int64 EffectId { get; set; }

        public int? Amount { get; set; }
        public bool Critical { get; set; }

        public int Threat { get; set; }
    }
}
